Source Code Viewer - Example 4 - AbstractRecord

package name.matthewgreet.example4.common;

import java.io.Serializable;

/**
 * Data Transfer Object representing a table record.
 * 
 * @param <K> Type of primary key, typically Integer.
 */
public abstract class AbstractRecord<K extends Comparable<K>> implements Serializable {
	private static final long serialVersionUID = -6701870912096410989L;

	public abstract K getPrimaryKey();
}